/**
 * 作者: wgx
 * 日期: 2024-12-17 17:01:01
 * 备注: 用户每日任务进度表
 */
package com.motu.monstercity.server.game.userdata;

import com.motu.vertx.module.utility.toolset.TimeUtils;

public class UserDayTask extends UserDayTaskModel {
    public UserDayTask() {
        super();
    }

    public void reset() {
        if (!TimeUtils.isToday(getResetTime())) {
            putNum(0);
            putGetReward("");
            putResetTime(TimeUtils.getCurTime());
            update();
        }
    }
}
